package cc.comac.mom.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import cc.comac.mom.entity.base.BaseResultEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@TableName(value ="equip_maintain_work_order")
@Data
@EqualsAndHashCode(callSuper=true)
public class EquipMaintainWorkOrderEntity extends BaseResultEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@TableId(value = "maintain_work_order_id",type = IdType.INPUT)
	@TableField("maintain_work_order_id")
	private long id;
	
	private String orderNumber;
	private long maintainPlanId;
	private long benchmarkId;
	private String maintainPlanNumber;
	private String devNumber;
	private long devCategoryId;
	private String devCategoryName;
	private String devCategoryNumber;
	private String benchmarkNumber;
	private String location;
	private String actualTeam;
	private long actualTeamId;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date firstPlanDateStart;
	private int executionDuration;
	private String executionDurationType;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date planDateStart;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date planDateEnd;
	private int cycle;
	private String enable;
	private String status;
	private String executionUser;
	private String executionUserJobNumber;
	private String grade;
	private String ifCalendar;
	private String calendarCode;
	private String maintainCycleName;
	private int maintainFrequency;
	private String maintainFrequencyType;
	private String cycleType;
	private String devName;
	private String jobNumber;
	//private String devTypeName;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date firstPlanActualDateStart;
    private BigDecimal actualExecuteTime;

    private long devId;
	private String userDepartment;

}
